package com.xbang.attendance.service;

import java.util.List;

import com.xbang.attendance.entity.stock.Inventory;
import com.xbang.attendance.entity.stock.InventoryExchange;
import com.xbang.core.service.BaseService;

/**
 * @author huawei
 * @email alonelaval@gmail.com
 */
public interface InventoryExchangeService extends BaseService{
	/**
	 * 查找当月内的记录
	 * @param inventory
	 * @return
	 * @throws Exception
	 */
	List<InventoryExchange> getInventoryExchangesByInventory(Inventory inventory)throws Exception;
	/**
	 * 根据web路径生成excel,并返回该文件的名称
	 * 
	 * @param webPath
	 *            服务器路径
	 * @return
	 * @throws Exception
	 */
	String genericExcelFile(String webPath,Integer id) throws Exception;
}

